<?php
// Home

$page->title = 'Me';
$page->keywords = 'Tyler,Gordon,tygor,resume,portfolio,curriculum,vitae';

$yml = new Yaml('data/resume.yml');
$resume = $yml->parse();

?>

<?php foreach($resume as $section): ?>
<div class="row resume__section">
    <div class="two columns section__heading">
        <p><?= $section['label'] ?></p>
    </div>
    <div class="ten columns section__items">
        <?php foreach($section['items'] as $item): ?>
        <div class="row">
            <div class="four columns item__intro">
                <p><?= $item['intro'] ?></p>
            </div>
            <div class="eight columns item__description">
                <p><?= $item['description'] ?></p>
            </div>
        </div>
        <?php endforeach ?>
    </div>
</div>
<?php endforeach ?>
